﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MPBlog.Model
{
    public class BaseEntity
    {
        public virtual int Id { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        private DateTime createTime = DateTime.Now;
        public virtual DateTime CreatedTime
        {
            get { return createTime; }
            set { createTime = value; }
        }

        /// <summary>
        /// 逻辑删除
        /// </summary>
        public virtual bool LogicalDelete { get; set; }
    }
}
